Skip to content

feat: update jscard package result: extract template and json while keeping sourcemap #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 20, 2025

Conversation

lilei946
Copy link
Contributor

@lilei946 lilei946 commented Jan 22, 2025

  1. 将JS卡的template和css抽取成单独的[index].template.json和[index].css.json文件
  2. template.json中,表达式的key增加$,function改为"function"字符串,如:
    "$value": "function () {return '' + '显示: ' + (this.starNum) + '星'}"。
    引擎对应的修改已提交:feat: read template and style json for jscard hapjs#677

@lilei946 lilei946 force-pushed the jscard-modify branch 2 times, most recently from 5311422 to 5f7319f Compare February 19, 2025 09:40
@xiaomin1397 xiaomin1397 merged commit 1093fca into hapjs-platform:main Feb 20, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants